package com.example.pojo;

import java.util.Date;

/**
 * 客户主文件
 * @author Administrator
 *
 */
public class Customer {
	private String fullid;/*客户编号*/
	private String fullname;/*客户名称*/
	private String fundsattribution;/*账款归属*/
	private Integer classid;/*类别*/
	private String areaname;/*地区*/
	private String personid;/*业务人员*/
	private String chiefname;/*负责人*/
	private String telephone1;/*联系电话一*/
	private String telephone2;/*联系电话二*/
	private Date earliesttradedate;/*最初销售出库日*/
	private Date firsttradedate;/*最初销售退货日*/
	private Date latelytrade;/*最近销售出库日*/
	private Date latelyreturndate;/*最近销售退货日*/
	private double rateofdiscount;/*折数*/
	private String pricerank;/*销售等级*/
	private Date buildupdate;/*客户建立日期*/
	private double amountquota;/*账款额度*/
	private double remainquota;/*剩余额度*/
	private double startadvrecv;/*期初预收款*/
	private double startreceivable;/*期初应收款*/
	private double curadvrecv;/*期末预收款*/
	private double curreceivable;/*期末应收款*/
	private String memo;/*备注*/
	public String getFullid() {
		return fullid;
	}
	public void setFullid(String fullid) {
		this.fullid = fullid;
	}
	public String getFullname() {
		return fullname;
	}
	public void setFullname(String fullname) {
		this.fullname = fullname;
	}
	public String getFundsattribution() {
		return fundsattribution;
	}
	public void setFundsattribution(String fundsattribution) {
		this.fundsattribution = fundsattribution;
	}
	public Integer getClassid() {
		return classid;
	}
	public void setClassid(Integer classid) {
		this.classid = classid;
	}
	public String getAreaname() {
		return areaname;
	}
	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}
	public String getPersonid() {
		return personid;
	}
	public void setPersonid(String personid) {
		this.personid = personid;
	}
	public String getChiefname() {
		return chiefname;
	}
	public void setChiefname(String chiefname) {
		this.chiefname = chiefname;
	}
	public String getTelephone1() {
		return telephone1;
	}
	public void setTelephone1(String telephone1) {
		this.telephone1 = telephone1;
	}
	public String getTelephone2() {
		return telephone2;
	}
	public void setTelephone2(String telephone2) {
		this.telephone2 = telephone2;
	}
	public Date getEarliesttradedate() {
		return earliesttradedate;
	}
	public void setEarliesttradedate(Date earliesttradedate) {
		this.earliesttradedate = earliesttradedate;
	}
	public Date getFirsttradedate() {
		return firsttradedate;
	}
	public void setFirsttradedate(Date firsttradedate) {
		this.firsttradedate = firsttradedate;
	}
	public Date getLatelytrade() {
		return latelytrade;
	}
	public void setLatelytrade(Date latelytrade) {
		this.latelytrade = latelytrade;
	}
	public Date getLatelyreturndate() {
		return latelyreturndate;
	}
	public void setLatelyreturndate(Date latelyreturndate) {
		this.latelyreturndate = latelyreturndate;
	}
	public double getRateofdiscount() {
		return rateofdiscount;
	}
	public void setRateofdiscount(double rateofdiscount) {
		this.rateofdiscount = rateofdiscount;
	}
	public String getPricerank() {
		return pricerank;
	}
	public void setPricerank(String pricerank) {
		this.pricerank = pricerank;
	}
	public Date getBuildupdate() {
		return buildupdate;
	}
	public void setBuildupdate(Date buildupdate) {
		this.buildupdate = buildupdate;
	}
	public double getAmountquota() {
		return amountquota;
	}
	public void setAmountquota(double amountquota) {
		this.amountquota = amountquota;
	}
	public double getRemainquota() {
		return remainquota;
	}
	public void setRemainquota(double remainquota) {
		this.remainquota = remainquota;
	}
	public double getStartadvrecv() {
		return startadvrecv;
	}
	public void setStartadvrecv(double startadvrecv) {
		this.startadvrecv = startadvrecv;
	}
	public double getStartreceivable() {
		return startreceivable;
	}
	public void setStartreceivable(double startreceivable) {
		this.startreceivable = startreceivable;
	}
	public double getCuradvrecv() {
		return curadvrecv;
	}
	public void setCuradvrecv(double curadvrecv) {
		this.curadvrecv = curadvrecv;
	}
	public double getCurreceivable() {
		return curreceivable;
	}
	public void setCurreceivable(double curreceivable) {
		this.curreceivable = curreceivable;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public Customer(String fullid, String fullname, String fundsattribution,
			Integer classid, String areaname, String personid,
			String chiefname, String telephone1, String telephone2,
			Date earliesttradedate, Date firsttradedate, Date latelytrade,
			Date latelyreturndate, double rateofdiscount, String pricerank,
			Date buildupdate, double amountquota, double remainquota,
			double startadvrecv, double startreceivable, double curadvrecv,
			double curreceivable, String memo) {
		super();
		this.fullid = fullid;
		this.fullname = fullname;
		this.fundsattribution = fundsattribution;
		this.classid = classid;
		this.areaname = areaname;
		this.personid = personid;
		this.chiefname = chiefname;
		this.telephone1 = telephone1;
		this.telephone2 = telephone2;
		this.earliesttradedate = earliesttradedate;
		this.firsttradedate = firsttradedate;
		this.latelytrade = latelytrade;
		this.latelyreturndate = latelyreturndate;
		this.rateofdiscount = rateofdiscount;
		this.pricerank = pricerank;
		this.buildupdate = buildupdate;
		this.amountquota = amountquota;
		this.remainquota = remainquota;
		this.startadvrecv = startadvrecv;
		this.startreceivable = startreceivable;
		this.curadvrecv = curadvrecv;
		this.curreceivable = curreceivable;
		this.memo = memo;
	}
	public Customer() {
		super();
	}
	@Override
	public String toString() {
		return "Customer [fullid=" + fullid + ", fullname=" + fullname
				+ ", fundsattribution=" + fundsattribution + ", classid="
				+ classid + ", areaname=" + areaname + ", personid=" + personid
				+ ", chiefname=" + chiefname + ", telephone1=" + telephone1
				+ ", telephone2=" + telephone2 + ", earliesttradedate="
				+ earliesttradedate + ", firsttradedate=" + firsttradedate
				+ ", latelytrade=" + latelytrade + ", latelyreturndate="
				+ latelyreturndate + ", rateofdiscount=" + rateofdiscount
				+ ", pricerank=" + pricerank + ", buildupdate=" + buildupdate
				+ ", amountquota=" + amountquota + ", remainquota="
				+ remainquota + ", startadvrecv=" + startadvrecv
				+ ", startreceivable=" + startreceivable + ", curadvrecv="
				+ curadvrecv + ", curreceivable=" + curreceivable + ", memo="
				+ memo + "]";
	}
}
